package com.shuyuntu.proposal.vo;

import com.shuyuntu.proposal.entity.Attachment;
import com.shuyuntu.proposal.enums.EProposalState;
import com.shuyuntu.proposal.enums.EProposalType;

import java.util.Date;
import java.util.List;

/**
 * Created by limeng on 16-4-26.
 */
public class PostedProposalVO {
    /**
     * 提案的标题
     */
    private String title;

    /**
     * 提案的内容
     */
    private String content;

    /**
     * 提案的作者
     */
    private String authorId;

    /**
     * 提案发布的时间
     */
    private Date createTime;

    /**
     * 提案的状态
     * (草稿/待审核等)
     */
    private EProposalState state;

    /**
     * 提案的类型
     * (财务/教务/管理等)
     */
    private EProposalType type;

    /**
     * 附件列表
     */
    private List<Attachment> attachments;

    /**
     * 主办部门id
     */
    private String hostDepartmentId;

    /**
     * 辅助部门id列表
     */
    private List<String> assistDepartmentIdList;

    /********************************/
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public EProposalState getState() {
        return state;
    }

    public void setState(EProposalState state) {
        this.state = state;
    }

    public EProposalType getType() {
        return type;
    }

    public void setType(EProposalType type) {
        this.type = type;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public List<Attachment> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<Attachment> attachments) {
        this.attachments = attachments;
    }

    public String getHostDepartmentId() {
        return hostDepartmentId;
    }

    public void setHostDepartmentId(String hostDepartmentId) {
        this.hostDepartmentId = hostDepartmentId;
    }

    public List<String> getAssistDepartmentIdList() {
        return assistDepartmentIdList;
    }

    public void setAssistDepartmentIdList(List<String> assistDepartmentIdList) {
        this.assistDepartmentIdList = assistDepartmentIdList;
    }
}
